package com.jingdianjichi.auth.domain.convert;

import com.jingdianjichi.auth.domain.entity.AuthUserBO;
import com.jingdianjichi.auth.infra.basic.entity.AuthUser;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface AuthUserConvert {
    AuthUserConvert INSTABCE =  Mappers.getMapper(AuthUserConvert.class);
    AuthUser convertBoToEntity(AuthUserBO authUserBO);

    AuthUserBO convertEntityToBO(AuthUser authUser);

//    List<SubjectCategoryBO> convertBoToCategory(List<SubjectCategory> subjectCategoryList);
}
